/**
 * 给料机设置
 * @author xiaoxujs
 */
import { ListStyleModuleBox } from "../../style";
import { FC } from "react";
import { IYckzZyLoadControlHetGlj } from "../../../api";

const ListStyleModule: FC<{
    data?: IYckzZyLoadControlHetGlj
}> = ({
    data
}) => {
        return <ListStyleModuleBox>
            <thead>
                <tr className="box-title-tr">
                    <th align='center'>给料机1名称</th>
                    <th align='center'>给料机1编号</th>
                    <th align='center'>给料机2名称</th>
                    <th align='center'>给料机2编号</th>
                </tr>
            </thead>
            <tbody>
                <tr className="box-tr">
                    <td align='center'>{data && (data.glj1 || '--')}</td>
                    <td align='center'>{data && (data.glj1Num || '--')}</td>
                    <td align='center'>{data && (data.glj2 || '--')}</td>
                    <td align='center'>{data && (data.glj2Num || '--')}</td>
                </tr>
            </tbody>

        </ListStyleModuleBox>
    }

export default ListStyleModule;